package com.five.community.bean.vo;

import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@RequiredArgsConstructor
public class PetVo {
    private long id;
    @NonNull
    private String picture;
    @NonNull
    private String pname;
    @NonNull
    private String name;
    @NonNull
    private String color;
    @NonNull
    private String remark;
    @NonNull
    @DateTimeFormat(pattern = "yyyy-MM-dd'T'HH:mm")
    private Date adoptTime;
    @NonNull
    private Date createTime;
}
